package com.base.util

import android.util.Log

fun Any.log(tag: String = "", message: String = "") {
    Log.e(javaClass.simpleName, "$tag:$message")
}

fun Any.logThrow(tag: String = "", message: String = "", throwable: Throwable?) {
    Log.e(javaClass.name, "$tag:$message", throwable)
}